package com.quotes.simulation;

public class Position 
{
	private MarketOrder order = null;
	private double sellPrice;
	private boolean toBeSold = false;

	public Position(MarketOrder order) {
		this.order = order;
	}
	
	public MarketOrder getBuyOrder() {
		return order;
	}
		
	public double getSellPrice() {
		return sellPrice;
	}
	
	public void setSellprice(double sellPrice) {
		this.sellPrice = sellPrice;
	}
	
	public void setToBeSold(boolean toBeSold) {
		this.toBeSold = toBeSold;
	}
	
	public boolean toBeSold() {
		return toBeSold;
	}
}
